package com.cxria.shiro.enums;

public enum ShiroStatusMsgEnum {

	NORMAL("send success"),
	USER_NOT_LOGIN("user not login"),
	USER_ROLE_ERROR("user role error"),
	USER_AUTHORITY_ERROR("user authority error"),
	USER_INCORRECT_CREDENTIALS_ERROR("user incorrect credentials error"),
	USER_IS_NOT_DELETE("user is not delete"),
	ROLE_IS_NOT_DELETE("role is not delete"),
	DATA_ALREADY_EXISTS_ERROR("data already exists error"),
	DATA_SAVE_ERROR("data save error"),
	DATA_VIOLATION_ERROR("data violation error"),
	UNKNOWN_ERROR("unkunwn error");

	private String str;

	private ShiroStatusMsgEnum(String str) {
		this.str = str;
	}

	@Override
	public String toString() {
		return String.valueOf(this.str);
	}

}
